package com.wwfish.cms.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.nexustar.gwt.widgets.client.model.PaginationModelDto;
import com.wwfish.cms.model.ResourceDto;

import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: Tom
 * Date: 2010-8-9
 * Time: 9:33:15
 * To change this template use File | Settings | File Templates.
 */
public interface ResourceManager extends RemoteService {
    ResourceDto saveAndUpdate(ResourceDto dto);

    void delete(ResourceDto dto);

    PaginationModelDto<ResourceDto> getPageEntities(Integer begin, Integer count,Map<String, String> conditions);
}
